# This code is part of the MWP System
# Copyright (c) 2012 Benjamin Lubin (blubin@bu.com) 
# Published under and subject to the GPLv2 license available at http://www.gnu.org/licenses/gpl-2.0.html

'''
Created on Dec 18, 2012
@author: blubin
'''

from frontend.roleApplication import RoleApplication;
from frontend.form import Type;

class DrugSynth(RoleApplication):
    """ The Physician User Interface """

    def __init__(self):
        super(DrugSynth, self).__init__("DrugDiscovery", "Chemist");
        self.register_transition_step("Synth", self.synth_form_creator, name_fields=["sequence","moleculename","isscreenapproved"]);
        
    def synth_form_creator(self, stepname, form):
        form.add_html_label('<B>Register New Molecule</B>')
        
if __name__ == '__main__':
    app = DrugSynth();
    app.MainLoop();